//
//  TZWConst.swift
//  Sinaweibotzw
//
//  Created by 檀志文 on 16/4/11.
//  Copyright © 2016年 ios檀志文. All rights reserved.
//

import UIKit

/// tabBar的数量
let HMMainTabBarButtonCount = 5

///... 可变参数
/// 默参数

func HMPrint(item :Any, file: String = __FILE__, line: Int = __LINE__, function: String = __FUNCTION__) {
    #if DEBUG
        print((file as NSString).lastPathComponent + ",[\(line)]行,方法名称: " + function + "输出: \(item)")
    #endif
}

/**
*  全局背景颜色
*/

let GlobalColor = UIColor.whiteColor()

// MARK: - 授权相关
/// 加载授权登录界面的url地址
let OauthUrl = "https://api.weibo.com/oauth2/authorize"

/// 请应用时分配的AppKey
let client_id = "2352543825"

/// 授权回调地址
let redirect_uri = "http://www.qq.com/"

/// 申请应用时分配的AppSecret
let client_secret = "477ab5d80d645ec2a2c475914c956493"

/// 请求的类型
let grant_type = "authorization_code"

/// accessToken请求地址
let accessTokenURLString = "https://api.weibo.com/oauth2/access_token"

/// 账号归档和解档的路径
// 路径
let accountPath = NSSearchPathForDirectoriesInDomains(NSSearchPathDirectory.DocumentDirectory, NSSearchPathDomainMask.UserDomainMask, true).last!.stringByAppendingString("/account.plist")

/// 欢迎界面label大小
let WelcomeLabelFontSize: CGFloat = 14

/// 默认动画时长
let HMDefautlAnimDuration: NSTimeInterval = 0.25


/// 新特性界面数量
let NumberOfNewFeatureItem = 4

/// 欢迎界面label大小
let NewFeatureLabelFontSize: CGFloat = 18


/// MARK - cell的常量
/// 用户名称大小
let TZWStatusNameFontSize: CGFloat = 14

/// 时间文字大小
let TZWStatusTimeFontSize: CGFloat = 11

/// 微博文字大小
let TZWStatusContentFontSize: CGFloat = 15

/// 微博内容间距
let TZWStatusCellMargin: CGFloat = 8

/// 微博头像大小
let TZWStatusIconWH: CGFloat = 35


/// 刷新微博数量的label高度
let TipLabelHeight: CGFloat = 44





